WPDesk\ShopMagicCart\Cart\Cart S

Total Complexity 43
Dependencies 9
Dependents 10
Total lines 294
Lines of code 185
Logical lines of code 105
Comment lines 32
Methods 27
Properties 16

Methods 27

Method Rating Maintainability Complexity Lines of code
calculate_totals()
S
53 5 22
get_status_translated()
S
61 5 13
append_to_wc_cart()
S
59 4 15
sync()
S
52 3 24
normalize()
S
57 2 16
__construct()
S
58 1 15
has_changed()
S
79 2 3
sync_order()
S
67 2 8
get_shipping_total()
S
81 1 3
is_status_abandoned()
S
80 1 3
set_status_abandoned()
S
77 1 4
set_last_inserted_id()
S
81 1 3
get_currency()
S
82 1 3
get_token()
S
82 1 3
get_total()
S
81 1 3
get_products_quantity_count()
S
67 1 9
get_shipping_tax_total()
S
81 1 3
get_fees()
S
82 1 3
get_coupons()
S
82 1 3
map_array_items()
S
69 1 8
get_items()
S
82 1 3
get_created()
S
82 1 3
get_last_modified()
S
82 1 3
get_customer()
S
82 1 3
get_id()
S
82 1 3
get_changed_fields()
S
82 1 3
get_status()
S
82 1 3